
/*
    消息号管理
*/

import { GameConfig } from "../GameConfig";

export interface EliminateLevelInfoResponse {

}


export default class NetworkMessage {
    public static GETUSERINFO = `v1/${GameConfig.gameName}/user/mine/`;    //获取个人信息;
    public static STICKER = 'v1/sticker/';                                  //发送表情;
    public static ASSETS = 'v1/wallet/assets/';                             //用户资产接口;
    public static PLAYPOCKER = `v1/${GameConfig.gameName}/play_poker/`     //出牌;

    /** slot_bingo 加入游戏，下注相关接口 */
    public static SLOTBINGOJOIN = `v1/bingoslots/join`;
    public static SLOTBINGOBET = `v1/bingoslots/bet`;
    public static SLOTBINGORECORD = `v1/bingoslots/record`;
    public static SLOTBINGOLEAVE = `v1/bingoslots/leave`;
    /** 押注中奖记录 */
    public static BET_HISTORY = "v1/games/slots/history/";

    public static ZCLUB_HOLDEM_JOIN = `v1/games/holdem/join/`;
    public static ZCLUB_HOLDEM_LEAVE = `v1/games/holdem/leave/`;
    /** 完成牌桌的动作，棋牌跟注等等 */
    public static ZCLUB_HOLDEM_PLAY = `v1/games/holdem/play/`;
    /** 1：获得游戏的入场筹码上下限 2：触发游戏下发最新 Socket 消息给当前用户，以便完成游戏初始化*/
    public static ZCLUB_HOLDEM_INFO = `v1/games/holdem/info/`;
    /** ZCLUB的资产统一接口地址 */
    public static ZCLUB_ASSETS = "v1/chips/assets/";

    /** 完成牌桌的动作，棋牌跟注等等 */
    public static YOYO_HOLDEM_PLAY = `v1/holdem/play/`;
    /** 1：获得游戏的入场筹码上下限 2：触发游戏下发最新 Socket 消息给当前用户，以便完成游戏初始化*/
    public static YOYO_HOLDEM_INFO = `v1/holdem/info/`;
    public static YOYO_HOLDEM_LOBBY_CONFIG = `v1/holdem/lobby/config/`;

    public static SINGLE_JOIN_GAME = `v1/${GameConfig.gameName}/single/join`

    public static ALLGAMERANK = `v2/leaderboard/game/ranks/?type=`;

    public static ADDSHEEP = 'v1/sf/fire/';
    public static QUICKEN = 'v1/sf/quicken/';

    public static SCRATCH_JOIN = `v1/scratchcard/join`;
    /** 刮刮乐下注 */
    public static SCRATCH_BET = 'v1/scratchcard/bet';
    /** 刮刮乐离开游戏 */
    public static SCRATCH_LEAVE = `v1/scratchcard/leave`;
    /** 刮刮乐刮奖记录 */
    public static SCRATCH_RECORD = `v1/scratchcard/record`;

    public static CAT_SLOTS_USER_INFO = 'v1/slots/user/mine/';                          //获取个人信息; 
    public static CAT_SLOTS_BETTING = 'v1/slots/betting/';                               //摇奖;
    public static CAT_SLOTS_JOIN = 'v1/slots/join/';                                     //加入游戏；
    public static CAT_SLOTS_LEAVE = 'v1/slots/leave/';                                    //离开游戏；
    public static CAT_SLOTS_WINRECORD = 'v1/slots/mine/win_record/?';
    public static CAT_SLOTS_RANKNEW = 'v2/leaderboard/game/ranks/?type=';                 // 周榜日榜接口

    public static HM_JOIN = "v1/crazylion/join";
    public static HM_LEAVE = "v1/crazylion/leave";
    public static HM_BETTING = 'v1/crazylion/bet';
    // /** 大转盘的最近一场的数据 */
    public static HM_LATEST = "v1/crazylion/latest";

    /** 二选一游戏接口路由 start */
    public static ALTERNATIVE_JOIN = "v1/liontiger/join";
    public static ALTERNATIVE_BETTING = "v1/liontiger/bet";
    public static ALTERNATIVE_LEAVE = "v1/liontiger/leave";
    /** 二选一游戏接口路由 end */

    /** 三消游戏3D版本join */
    public static readonly ELIMINATE3D_JOIN = "v1/match3d/join";
    public static readonly ELIMINATE3D_LEAVE = "v1/match3d/leave";
    public static readonly ELIMINATE3D_START = "v1/match3d/start";

    /**所有的socket消息 */
    public static readonly MESSAGE_MAIN_SOCKET = 'emit_message';
    /**所有的socket消息 */
    public static readonly MESSAGE_SWITCH_ROOM = 'switch_room';
    /**获取app与服务器websocket状态; */
    public static readonly MESSAGE_REQUEST_WS_STATUS = 'request_ws_status';
    /**获取app与服务器websocket状态; */
    public static readonly MESSAGE_TASK_COMPLETE = 'task_complete';

    public static readonly GROUP_INFO = 'group_info';

    /**语音消息 */
    public static readonly MESSAGE_UPDATA_VOLUME_INDICATION = "updateVolumeIndication"
    /**表情信息 */
    public static readonly MESSAGE_EMOJI_ON_MIC = "emoji_on_mic"
    /**游戏匹配时 */
    public static readonly MESSAGE_MATCHING = "game_matching"
    /**游戏进行中消息 */
    public static readonly MESSAGE_PLAYER = "game_playing"
    /**游戏结束消息 */
    public static readonly MESSAGE_COMPLETED = "game_completed"
    /**房间状态 */
    public static readonly MESSAGE_CHATROOM_STATUS = "emit_status"
    /**麦位信息 */
    public static readonly MESSAGE_MIC_USERS = "mic_users"
    public static REQUEST_WS_STATUS = 'request_ws_status';

}